<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html id="app1">
<link rel="shortcut icon" href="static/img/icon.ico" type="image/x-icon" />

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <!--html打开强制为极速模式-->
    <script src="https://cdn.bootcss.com/jquery/2.1.4/jquery.min.js"></script>
    <script src="http://api.map.baidu.com/getscript?v=2.0&ak=eLa84TdSq4bqrfrZqVvGQWD3qn4In3Ly"></script>
    <script type="text/javascript" src="http://api.map.baidu.com/library/AreaRestriction/1.2/src/AreaRestriction_min.js"></script>
    <script src="/static/js/vendor.dll.js"></script>
</head>

<body oncontextmenu="self.event.returnValue=false" onselectstart="return false">
    <div id="app"></div>
</body>

</html>
<script type="text/javascript">
    $(window).load(function() {
        resizeScreen();
    });
    $(window).resize(function() { // 当浏览器大小变化时
        resizeScreen();
    });

    function resizeScreen() {
        var valX = 0
        var valY = 0
            // var screenH = window.screen.height
        var documentW = document.documentElement.clientWidth
        var documentH = document.documentElement.clientHeight
        var screenW = window.screen.width
        if (Number(screenW) === 1366) {
            if (documentW < 1366 && documentW > 768) {
                // valX = (documentW + 17) / 1920
                valX = documentW / 1920
                valY = documentH / 1080
            } else {
                valX = documentW / 1920
                valY = documentH / 1080
            }
        } else {
            if (documentW < 1920 && documentW > 1300) {
                // valX = (documentW + 17) / 1920
                valX = documentW / 1920
                valY = documentH / 1080
            } else {
                valX = (documentW) / 1920
                valY = (documentH) / 1080
            }
        }
        // document.body.style.transform = "translateZ(0) scale(" + valX + ',' + valY + ")";

        document.getElementById("app").style.transform = "translateZ(0) scale(" + valX + "," + valY + ")";
    }
</script>